package com.mall.order.dal.persistence;

import com.mall.order.dal.entitys.Building;
import com.mall.order.dto.QueryDormByOrderDto;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * @Classname DormMapper
 * @Description
 * @Date 2021/11/19 21:57
 * @Author terrance_swn
 */
public interface DormMapper extends Mapper<Building>, MySqlMapper<Building> {
    List<QueryDormByOrderDto> selectDormInfoByOrder(@Param("buildingId") Integer buildingId, @Param("gender") String gender, @Param("num") int num);
}
